home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / merge.man < prev    next >
Encoding:
Text File  |  1989-01-07  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. MERGE                     User Commands                     MERGE
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      merge - three-way file merge
  10.  
  11. SSYYNNOOPPSSIISS
  12.      mmeerrggee [ --pp ] file1 file2 file3
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _M_e_r_g_e incorporates all changes that lead from _f_i_l_e_2 to _f_i_l_e_3
  16.      into _f_i_l_e_1. The result goes to std. output if --pp is present,
  17.      into _f_i_l_e_1 otherwise. _M_e_r_g_e is useful for combining separate
  18.      changes to an original. Suppose _f_i_l_e_2 is the original, and
  19.      both _f_i_l_e_1 and _f_i_l_e_3 are modifications of _f_i_l_e_2. Then _m_e_r_g_e
  20.      combines both changes.
  21.  
  22.      An overlap occurs if both _f_i_l_e_1 and _f_i_l_e_3 have changes in a
  23.      common segment of lines.  _M_e_r_g_e prints how many overlaps
  24.      occurred, and includes both alternatives in the result. The
  25.      alternatives are delimited as follows:
  26.  
  27.              <<<<<<< file1
  28.              lines in file1
  29.              =======
  30.              lines in file3
  31.              >>>>>>> file3
  32.  
  33.      If there are overlaps, the user should edit the result and
  34.      delete one of the alternatives.
  35.  
  36. IIDDEENNTTIIFFIICCAATTIIOONN
  37.      Author: Walter F. Tichy, Purdue University, West Lafayette,
  38.      IN, 47907.
  39.      Revision Number: 3.0 ; Release Date: 82/11/25 .
  40.      Copyright (C) 1982 by Walter F. Tichy.
  41.  
  42. SSEEEE AALLSSOO
  43.      diff3 (1), diff (1), rcsmerge (1), co (1).
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Purdue University            6/29/83                            1
  64.  
  65.  
  66.  
  67.